Fix/sfn state machine hang#47447
Conversation
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
925a6cd to
2cb8b80
Compare
|
|
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
No changes to security controls.
Description
We cap the retry wait time for
AccessDeniedExceptioninsideaws_sfn_state_machinecreation to a maximum of 2 minutes. Previously, it would catch anAccessDeniedException(often thrown when CloudWatch Logs permissions are absent) and retry endlessly up to the full resource timeout (e.g., 5-30 minutes). Now, it safely waits up to 2 minutes for IAM eventual consistency propagation without hanging indefinitely for entirely missing permissions.Relations
Relates #7893